package com.itsc.entities;

import java.util.Set;

public class ProductType {

	private Integer pt_id;
	private String pt_name;
	private Integer parent_id;
	
	//自连一对多
	private ProductType proType;
	private Set<ProductType> proTypeSet;
	
	//商品类别与商品一对多关系
	private Set<Product> proSet;

	public Integer getPt_id() {
		return pt_id;
	}

	public void setPt_id(Integer pt_id) {
		this.pt_id = pt_id;
	}

	public String getPt_name() {
		return pt_name;
	}

	public void setPt_name(String pt_name) {
		this.pt_name = pt_name;
	}

	public Integer getParent_id() {
		return parent_id;
	}

	public void setParent_id(Integer parent_id) {
		this.parent_id = parent_id;
	}

	public ProductType getProType() {
		return proType;
	}

	public void setProType(ProductType proType) {
		this.proType = proType;
	}

	public Set<ProductType> getProTypeSet() {
		return proTypeSet;
	}

	public void setProTypeSet(Set<ProductType> proTypeSet) {
		this.proTypeSet = proTypeSet;
	}

	public Set<Product> getProSet() {
		return proSet;
	}

	public void setProSet(Set<Product> proSet) {
		this.proSet = proSet;
	}
	
}
